import { Component, Inject, Optional } from '@angular/core';

import { ApesMessageContainerComponent } from '../message';

import { ApesNotificationConfig, Apes_NOTIFICATION_CONFIG, Apes_NOTIFICATION_DEFAULT_CONFIG } from './apes-notification-config';

@Component({
  selector           : 'apes-notification-container',
  preserveWhitespaces: false,
  templateUrl        : './apes-notification-container.component.html'
})
export class ApesNotificationContainerComponent extends ApesMessageContainerComponent {

  prefixCls = 'apes-notification';
  constructor(@Optional() @Inject(Apes_NOTIFICATION_DEFAULT_CONFIG) defaultConfig: ApesNotificationConfig,
              @Optional() @Inject(Apes_NOTIFICATION_CONFIG) config: ApesNotificationConfig) {
    super(defaultConfig, config);
  }

}
